package cn.tedu.drawn.admin.service;

import cn.tedu.drawn.admin.pojo.dto.UserAddDTO;
import cn.tedu.drawn.admin.pojo.dto.UserChangePasswordDTO;
import cn.tedu.drawn.admin.pojo.dto.UserLoginDTO;
import cn.tedu.drawn.admin.pojo.vo.UserListVO;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.util.List;


public interface UserService {


    public int login( UserLoginDTO user,
                      HttpSession session, HttpServletResponse response);

    void changePassword(UserChangePasswordDTO userChangePasswordDto);

    List<UserListVO> select();

    void insert(UserAddDTO userAddDTO);

    void defaultPassword(String id);

    void delete(int id);
}
